package com.lc.demo.repository;

import com.lc.demo.model.Users;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface UsersRepository extends JpaRepository<Users, Long>,
        JpaSpecificationExecutor<Users> {
    public Users getUsersByName(String name);
}
